<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>游戏攻略</title>
	<%@ include file="/view/common/tags.jsp"%>
	<script type="text/javascript" src="${sysManagerV1}/js/My97DatePicker/WdatePicker.js"> </script>
</head>
<body>
    <section class="content">
        <div class="row">
            <div class="col-md-12">
                <div class="box">
                    <div class="box-body">
                       <div class="panel panel-default">
                            <div class="panel-body" style="padding-bottom:5px;">
                                <form class="form-horizontal" action="" method="post" id="dataForm">
                                    <input type="hidden" id="token" name="token" value=""/>
                                	<div class="searchMenu">
                                	    <div>
	                                  	    <label>游戏名称：</label>
											<sk:select cssClass="form-control select" id="gameId" name="wm[GAME_ID]" value="${page.wm.GAME_ID}" requiredInit="true" ajaxURL="${userInfoV1}/baseGame/gameSelect?wm[DEL_FLAG]=1" onchange="TagUtil.fillOptions('gameId')">
												<option value="">请选择</option>
											</sk:select>
	                                    </div>
	                                    <div class="glType">
	                                        <label>攻略类型：</label>
	                                        <sk:select cssClass="form-control select" id="raiderTypeId" name="wm[RAIDER_TYPE_ID]" value="${page.wm.RAIDER_TYPE_ID }" requiredInit="true" parentCascadedSelect="gameId" ajaxURL="${strategyV1}/raiderType/raiderTypeSelect?1=1">
	                                            <option value="">请选择</option>
	                                        </sk:select>
	                                    </div>
	                                    <div>
	                                        <label>攻略标题：</label>
	                                        <input type="text" class="form-control" name="wm[_LIKE$RAIDER_TITLE]" value="${page.wm._LIKE$RAIDER_TITLE}"  placeholder="请输入攻略标题" style="width:350px;">
	                                    </div>
                                        <div>
                                            <label>操作时间：</label>
                                            <input id="createTimeStart" name="wm[_MORE_EQUAL$OPT_TIME]" value="${page.wm._MORE_EQUAL$OPT_TIME}"  type="text"  class="Wdate"
											  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',startDate:'%y-%M-%d 00:00:00',alwaysUseStartDate:true,maxDate:'#F{$dp.$D(\'createTimeEnd\')}',minDate:'#F{$dp.$D(\'createTimeEnd\',{d:-30,H:-23,m:-59,s:-59})}'})" /> 
											  <span class="pull-left">&nbsp;-&nbsp;</span>
											<input id="createTimeEnd" name="wm[_LESS_EQUAL$OPT_TIME]" value="${page.wm._LESS_EQUAL$OPT_TIME}"  class="Wdate"
								               onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',startDate:'%y-%M-%d 23:59:59',alwaysUseStartDate:true,minDate:'#F{$dp.$D(\'createTimeStart\')}',maxDate:'#F{$dp.$D(\'createTimeStart\',{d:+30,H:+23,m:+59,s:+59})}'})" />
                                        </div>
	                                    <div class="mal10" >
	                                        <button type="button"  class="btn btn-primary btn-sm"  onclick="findData()"><span class='glyphicon glyphicon-search'></span>查&nbsp;询</button>
	                                        <sk:button type="button"  rightKey="20170816153238"  _class="btn btn-success btn-sm"  onclick="add()"><span class='glyphicon glyphicon-plus'></span>添&nbsp;加</sk:button>
	                                    </div>
                                	</div>
                                </form>
                            </div>
                        </div>
                        <table class="table table-hover table-condensed table-bordered table-striped" id="dataTable" >
                            <thead>
                                <tr>
                                	<th data-field="index" data-align="center" data-formatter="indexFormatter" data-sortable="false">序号</th>
                                    <th data-field="gameName" data-align="center">游戏名称</th>
                                    <th data-field="raiderType" data-align="center">攻略类型</th>
                                    <th data-field="raiderSmallName" data-align="center">攻略小类</th>
                                    <th data-field="raiderTitle" data-align="center" data-sortable="true">攻略标题</th>
                                    <th data-field="orderByNo" data-align="center" data-sortable="true">排序号</th>
                                    <th data-field="hotFlag" data-align="center" data-formatter="hotFlagFormatter" data-sortable="true">是否热门</th>
                                    <th data-field="fbFlag" data-align="center" data-formatter="fbFlagFormatter" data-sortable="true">是否发布</th>
                                    <th data-field="optAccount" data-align="center" data-sortable="true">操作人</th>
                                    <th data-field="optTime" data-align="center"  data-formatter="timeFormatter_point" data-sortable="true">操作时间</th>
                                    <th data-field="collectNum" data-align="center" data-sortable="true">收藏数</th>
                                    <th data-field="browseNum" data-align="center" data-sortable="true">浏览量</th>
                                    <th data-field="optButton" data-align="center"  data-formatter="buttonFormatter" data-sortable="false">操作</th>
                                </tr>
                            </thead>
                        </table>
                   	</div>
            	</div>
           	</div>
		</div>
    </section>
   <%@ include file="/view/common/footer.jsp"%>
   <script type="text/javascript" src="${sysManagerV1}/view/js/strategy/strategy_list.js"></script>
</body>
<script>
// 提示信息
var msgg='<%=request.getAttribute("msg")%>';
if( msgg && msgg!=null && msgg!='null'){ 
	  layer.msg(msgg);
}
</script>
</html>